package com.gmgx.dao;

import com.gmgx.utils.JDBCUtil;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class ClassroomDao {
    @Resource
    private JDBCUtil jdbcUtil;

    public ClassroomDao() {
        System.out.println("ClassroomDao的无参构造");
    }

    public boolean login(String username, String password){
        return jdbcUtil.login(username,password);

    }
}
